import request from '@/utils/request';

export async function querySalesAll(params) {
  return request(`pay/order/storeOwnerCount/gl`, {
    params
  })
}
export async function exportSales({
  type,
  subType,
  startTime,
  endTime
}) {
  return request(`/pay/order/storeOwnerCount/gl/export?type=${type}&subType=${subType}&startTime=${startTime}&endTime=${endTime}`, {

    method: 'GET',
    responseType: 'blob',
  });
}
